How We Made Shift 0.6 Gnome


Recommended Posts

Alright, it was asked for, so here it is. Shift was split in half for developing 0.6, so I was doing Gnome, and CrimsonRedMk was doing KDE and Lite (thanks, by the way :p). I'll tell you how I got Shift 0.6 Gnome made.

Get an awesome customizing program

For most of the time I was making Shift, I was inside a program called Reconstructor, even though most of the work was done via the command line. What's good about Reconstructor is that it takes a Ubuntu or Ubuntu-compatible ISO, and splits it into 3 parts: remaster (which is the actual bootable CD), root (the root of the filesystem, this is a full version of Ubuntu or Shift that will eventually end up on someone's system), and intrid (I didn't really touch this, but it is the initial ramdisk. Don't worry about it, we'll tell you when it's useful).

So, we loaded the ISO into Reconstructor, and we were greeted with a plethora of options. What did we do now?

Remove the stuff no one wants, add the stuff everyone wants

Our next step was to add and remove some packages. The best way to do that is by using the command line and apt-get. Another useful thing about reconstructor is that there is a little terminal icon at the bottom left of the window, which gives you command line access to a working Shift system. If you type in apt-get install packagename, packagename will be installed into the system, and added to the menus (if necessary).

It's the same for apt-get remove, except in reverse (things get taken out of menus, the apps get removed, etc.).

Another thing we did was an apt-get dist-upgrade. This will upgrade the entire system to the latest stable packages, but if there are instabilities with the system, this is probably the root of the problem. We looked at it from the perspective that this is not a stable distro yet, and we have time to fix the bugs, so we might as well be shipping everything up to date.

And finally, what are we supposed to do with all of those extra package files that were just downloaded? They've been installed, and we don't really have much use for them anymore, so we run an apt-get clean. If you have a 900MB ISO at one point, as I can tell you I did, it's because you forgot that single command :p .

Get everything branded

So, you've got a system that's working pretty well now, but it's not branded! How dare Ubuntu (or Shift) take your work and put their branding all over it? We'll just have to fight back.

But truth be told, branding can be a pain. Reconstructor helps, but you actually have to replace everything with a Ubuntu logo or name on it with the name of your distro, because of the trademark, and sometimes files hide in places they shouldn't. Shift is also a registered trademark, and thus if you are basing your distribution off of it, you need to have your own distribution name (unless you're working on Shift and not a derivative).

So, to get the easy stuff out of the way. There is a tab at the top of Reconstructor called Gnome, which is where you can add a theme, wallpaper, icon set, and set the default configuration for such things. There, easy part done. But there's still pesky little Ubuntu icons everywhere!

Go through /usr/icons/, and replace every single Ubutnu- or Shift-related icon with an icon for your distro. Yeah, it's a pain, I know. There's also some in /usr/pixmaps/ that you should replace, like the icon for Ubiquity (the Ubuntu/Shift installer). And when you're done, delete the icon cache and run a gtk-update-icon-cache on every icon set you've modified, (if you've added an icon set, run a gtk-update-icon-cache on that, too). This will change that little, stupid, irritating icon at the top left of your screen, next to the Applications menu. I spent 5 hours straight trying to change that from Ubuntu to Shift, at one point getting mad at the Ubuntu developers themselves in their IRC room (sorry guys! :p).

Useful tip: in your own terminal (not the terminal of the distro you're developing), run a sudo nautilus. The root, remaster, and intrid folders have big fancy permissions on them, but using that command, you can drag files in and out of the ISO using a nice file navigator. You need to be root (or elevated permissions a la sudo) to change things within those folders.

Config files

This is more of a pasteboard for me. When I find a config file, I honestly don't want to come in and explain it to everyone, but I want to remember where it is, and might as well share :p . So the following is useful links, commands, files, etc.

http://library.gnome.org/admin/system-admin-guide/2.20/

/usr/share/gconf/defaults -- Default gconf stuff.

gconftool-2 --dump <a directory in gconf> -- Useful for exporting things like a panel configuration

update-gconf-defaults -- writes files in /usr/share/gconf/defaults to a single, default gconf structure.

/etc/skel/ -- the default home folder for a user.

/etc/lsb-release is a text file that also needs to be changed. We recommend only changing the description, as the rest is probably still a pretty accurate description of your distro for programs that want to know.

Conclusion

You should also be clicking Apply on Reconstructor after you change anything within the interface (not from the Terminal, since that actually updates things as soon as you say "Do this"). You want to click Next after hitting Apply one last time, and name your distro, your ISO, etc. And now, you wait. And wait. And wait. And wait. And wait. And wait. And then you have an ISO sitting there for you to burn to a CD, or run ion a virtual machine. Congratulations, you just made a Linux distribution.

Thanks to the entire Shift Linux team, especially Barney, CrimsonRedMk, and Mephistopheles, and anyone who helped me out at some point in #neowin on irc.neowin.net or #ubuntu or its other channels on irc.ubuntu.com.

Edited by simon360
Link to comment
https://www.neowin.net/forum/topic/616205-how-we-made-shift-06-gnome/
Share on other sites

Cool guide! Please do post your guide to the config files when you get a chance.

I thought you went with UCK as your GUI tool. Do you think Reconstructor is better?

Well, I did most things via Nautilus and the command line. I tried UCK at one point, but it's more of a wizard than it is a tool iirc, and Reconstructor eflt better to me. Really, it's all about what the user likes more. I should have a link to UCK in there anyway...

Thanks for the guide.

Reconstructor only supports Gnome customization?

No, it also supports KDE, but I haven't worked on Shift KDE. I'm writing this purely from the perspective of a Gnome developer. You should be able to adapt most things in here to KDE.

Well, I did most things via Nautilus and the command line. I tried UCK at one point, but it's more of a wizard than it is a tool iirc, and Reconstructor eflt better to me. Really, it's all about what the user likes more. I should have a link to UCK in there anyway...

I'm actually using both Reconstructor and UCK to work on a live 'test' DVD with all the stuff (including nonfree codecs, etc) that I want. The reason for both is that UCK lets you add packages via Synaptics, so if you don't know the name of the package then it's easier (I think) to find it that way. Reconstructor is nicer in other ways I think.

The problem is that you've got to remake the ISO every time you leave one to start the other. Anyway, great guide!

  • 3 weeks later...
  • 2 weeks later...
This topic is now closed to further replies.
  • Recently Browsing   0 members

    • No registered users viewing this page.
  • Posts

    • Samsung Galaxy Z Fold 8, Flip 8, Z Fold Wide: Everything you need to know The ONLY thing I need to know is the price, which I know will be way higher than I (and most people) are willing to pay for a phone... so basically nothing here I need to know. PS: Nice job getting that Apple reference to a non-existent and unrevealed product as "competition" in there. Cheque is in the mail.
    • Well I really think the repasting helped if your higher clocks have returned, maybe the next thing to look at is if there is a problem with your case airflow? I guess this because your 3080 has returned to optimal state, but is still staying too warm, which might suggest it was thermal throttling before you repasted, of which the only logical conclusion could be outside factors.
    • Samsung Galaxy Z Fold 8, Flip 8, Z Fold Wide: Everything you need to know by Hamid Ganji Galaxy Z Fold 7 - Image via Samsung The next generation of Samsung foldables is set to be unveiled next month at the second Unpacked event of the year. Samsung’s 2026 foldables are not expected to offer significant upgrades over their predecessors, with the Korean firm instead focusing on design refinements and conventional upgrades such as faster processors and better cameras. However, Samsung is reportedly planning to unveil an all-new passport-style foldable this year to rival Apple’s first foldable iPhone, which is expected to debut this September. Here’s a roundup of everything we know about Samsung’s upcoming foldable devices ahead of their official debut. When can we expect Samsung’s new foldables? The Galaxy Z Fold 7 and Z Flip 7 series were unveiled in July, and Samsung is expected to maintain this timeframe in 2026. Based on previous reports from Korean sources, Samsung will hold its Unpacked event on July 22 in London, UK, to pull back the curtain on the Galaxy Z Fold 8 series. The devices are also expected to hit the shelves a few weeks after launch. However, Samsung has yet to announce an official date. A new naming scheme? One of the most interesting changes we might see this year is a new naming scheme for Samsung’s latest foldables. SamMobile reported that since Samsung is expected to unveil three foldables this year, it has adopted a new naming strategy to simplify product identification for customers. Accordingly, the standard Galaxy Z Fold 8 will reportedly be called the Galaxy Z Fold 8 Ultra and will serve as the direct successor to last year’s Galaxy Z Fold 7. The “Ultra” suffix suggests the phone could feature higher-end specifications, such as additional rear camera modules. Samsung’s new passport-style foldable is expected to carry the Galaxy Z Fold 8 name without any suffix. This model is reportedly equipped with two rear cameras. No major changes are expected for the Flip model. Galaxy Z Fold 8 Ultra and Z Flip 8 anticipated specs Rumors over the past few months suggest Samsung is preparing several upgrades for its upcoming foldables, although the devices may continue to rely on larger batteries and faster charging speeds rather than dramatic design changes. The primary focus this year is expected to be the Galaxy Z Fold 8 and its wide-screen design. Galaxy Z Fold 8 Ultra official CAD renders - Image via AndroidHeadlines Here are the anticipated specifications for the Galaxy Z Fold 8 Ultra based on previous leaks: 6.5-inch outer display and 8-inch inner display, 120Hz refresh rate, and 2,600 nits peak brightness Snapdragon 8 Elite Gen 5 processor, paired with 12GB or 16GB of RAM and 256GB, 512GB, or 1TB of storage 4.1mm thickness when unfolded and a weight of 210g 200MP main camera, 50MP ultrawide camera, 10MP or 12MP telephoto camera, 10MP cover camera, and 10MP selfie camera 5,000mAh battery with 45W wired charging Android 17 and One UI 9 As for the Galaxy Z Flip 8, the device is not expected to be a major departure from its predecessor, although it could become slightly slimmer. Expected specifications include: Snapdragon 8 Elite Gen 5 or Exynos 2600 processor 12GB of RAM with 256GB and 512GB storage options 6.9-inch Dynamic AMOLED 2X inner dispaly and 4.1-inch Super AMOLED outer dispaly 50MP main camera, 12MP ultrawide camera, and 10MP selfie camera 4,300mAh battery with 25W wired charging Android 17 and One UI 9 Samsung’s foldables are also expected to launch with Gemini Intelligence, Google’s AI suite for automating tasks in Android ecosystem. Moreover, given current memory and component costs, some Galaxy Z Fold 8 Ultra and Z Flip 8 variants could see a price hike. Galaxy Z Fold 8 adopts a wide-screen design The centerpiece of the upcoming Unpacked event could be the Galaxy Z Fold 8, previously rumored as the Galaxy Z Fold Wide. This model adopts a passport-style form factor and is expected to compete directly with Apple’s iPhone Fold. Galaxy Z Fold 8 official CAD renders - Image via AndroidHeadlines Here’s what to expect: 7.6-inch primary OLED display and 5.4-inch cover display, 120Hz refresh rate, 2,600 nits peak brightness, and 4:3 aspect ratio Snapdragon 8 Elite Gen 5 processor, 12GB or 16GB of RAM, and 256GB, 512GB, or 1TB storage options 4,800mAh battery with 45W wired charging 50MP main camera, 50MP ultrawide camera, and 10MP selfie camera Android 17 and One UI 9 The three new foldable phones are unlikely to be the only devices unveiled at Samsung’s Unpacked event. The company is also expected to introduce the Galaxy Watch Ultra 2 and the Galaxy Watch 9 series.
    • Thanks
  • Recent Achievements

    • Week One Done
      rolfus earned a badge
      Week One Done
    • One Month Later
      Leroy Jethro Gibbs earned a badge
      One Month Later
    • Conversation Starter
      flexorcist earned a badge
      Conversation Starter
    • One Month Later
      AndreaB earned a badge
      One Month Later
    • One Month Later
      agatameier earned a badge
      One Month Later
  • Popular Contributors

    1. 1
      +primortal
      504
    2. 2
      +Edouard
      196
    3. 3
      PsYcHoKiLLa
      140
    4. 4
      ATLien_0
      88
    5. 5
      Steven P.
      81
  • Tell a friend

    Love Neowin? Tell a friend!