Re: HowTo: Upgrade the #! Point Release to sid

I have replace slim to lightdm as suggested. And when try to use smxi, I select option 1 as usual, but instead of escaping the xsession, and go into the console mode. It restart back to the lightdm login page, where did I go wrong? And how can I fix this?

Last edited by kowloonboy (2011-12-04 02:26:03)

Re: HowTo: Upgrade the #! Point Release to sid

@kowloonboy,

this is the way it is meant to be. smxi has to be run outside of X. in the console, log your user in and run sudo smxi
When smxi finished, it will start your desktop again.

Edit: I understand now what you mean - check VastOne's post under this one wink

Last edited by machinebacon (2011-12-04 02:50:09)

Nothing right in the left brain. Nothing left in the right brain.

Re: HowTo: Upgrade the #! Point Release to sid

@kowloonboy,

This is because lightdm does not have a shutdown mode that smxi recognizes..

All it is doing is jumping you back to tty7

just hit ctrl alt f1 again and you will return to smxi and it will still be running

I run lightdm and I have to do this every time I run smxi

Last edited by VastOne (2011-12-04 02:48:24)

Re: HowTo: Upgrade the #! Point Release to sid

VastOne wrote:

@kowloonboy,

This is because lightdm does not have a shutdown mode that smxi recognizes..

All it is doing is jumping you back to tty7

just hit ctrl alt f1 again and you will return to smxi and it will still be running

I run lightdm and I have to do this every time I run smxi

Beat me to it, I was going to say the same... also; smxi will be waiting for you right where it was ... as if there was no interruption.

Last edited by Sector11 (2011-12-04 03:06:38)

Re: HowTo: Upgrade the #! Point Release to sid

Thanks, I finally got smxi to work. Cheers smile

Re: HowTo: Upgrade the #! Point Release to sid

kowloonboy wrote:

Thanks, I finally got smxi to work. Cheers smile


Excellent...

Cool Bruce Lee quote too

Re: HowTo: Upgrade the #! Point Release to sid

machinebacon wrote:

@Sunfizz,

As for the gtk3-replacements, you can make a rdepends search:
apt-cache rdepends libgtk-3-0
These are the apps you probably don't want wink

If you want to strip down, you can start with debian netinstall and then add xorg. Though it's just a matter of time that you'll blow it up to 'Crunchbang size' big_smile

Ranger just gave me a culture shock, since it is starkly different from midnight commander.  I might like it more once I figure out how to use it more effectively.  I did your apt-cahe rdepends libgtk-3-0 but it brings up all the packages that depend on it (expected). 

Is there a way to find out only the installed packages that use libgtk-3-0?

Re: HowTo: Upgrade the #! Point Release to sid

sunfizz98 wrote:

Is there a way to find out only the installed packages that use libgtk-3-0?

aptitude why libgtk-3-0

59

Re: HowTo: Upgrade the #! Point Release to sid

Thanks for all the tips in this thread. I just upgraded to testing, and I had the issues you mention with nm-applet (launched twice, and no permission to join wifi), mounting USB drives, and cb-exit no longer working. I installed lightdm and selected it as the manager, and now I can mount drives, and by changing the Openbox menu I can now reboot and logout from there easily. One thing that I haven't gotten to work yet is autologin via lightdm (I have an encrypted partition and one user, so I don't need to login again every boot).

I changed the lightdm.conf file to include these lines:

autologin-user=zap
autologin-user-timeout=0

But that doesn't do the trick. Do I need to also create a pam script, as mentioned here, or do I just need to add/modify another lightdm config? And is there any way to use lightdm (or something other than the fugly xscreensaver) to lock the screen without logging out when I want to step away for a bit? (EDIT: Found this thread, which at least helps make xscreensaver less unbearably fugly.)

Overall, testing solved some annoyances for me and doesn't seem to have created any others that are unsolvable, so I'm glad I made the leap. I was running unstable on this system before reinstalling #!, and I'm not sure why I didn't just move to that this time also. I guess it was because I was generally happy with #! stable and I didn't want to move so far away that I couldn't wave to it from the window.

Last edited by ZAP (2011-12-31 03:25:41)

Re: HowTo: Upgrade the #! Point Release to sid

Thank you for the step by step manual, but, as for me, it doesn`t work until I`ve used Synaptic after first upgrade (~700 mb) from init 1 and Synaptic (~350 mb) in X. But after that move I cant install any .deb files. Is it possible to repare the installation function for DEB? Maybe there is an error in dpkg??

61

Re: HowTo: Upgrade the #! Point Release to sid

omen wrote:

But after that move I cant install any .deb files. Is it possible to repare the installation function for DEB? Maybe there is an error in dpkg??

What happens when you try? If the association with .deb files is just broken, you can right-click on one in Thunar, choose Properties, and select to open it with GDebi Package Manager. If you have some other problem, please be more specific.

Re: HowTo: Upgrade the #! Point Release to sid

ZAP wrote:
omen wrote:

But after that move I cant install any .deb files. Is it possible to repare the installation function for DEB? Maybe there is an error in dpkg??

What happens when you try? If the association with .deb files is just broken, you can right-click on one in Thunar, choose Properties, and select to open it with GDebi Package Manager. If you have some other problem, please be more specific.

I`ve fixed that already. It was because of 8 broken files.
How can I run lxappearance (User Interface Settings) after upgrading (i`ve forgot to hold it before update, my bad)?

Last edited by omen (2012-01-08 19:30:26)

63

Re: HowTo: Upgrade the #! Point Release to sid

omen wrote:

How can I run lxappearance (User Interface Settings) after upgrading (i`ve forgot to hold it before update, my bad)?

I haven't been able to run it since I upgraded. I think it's still broken upstream, and we just need to wait. You can always edit the config file manually, though.

Re: HowTo: Upgrade the #! Point Release to sid

^ FYI -- version 0.5.1-1 is currently in Debian Sid.  I just installed it out of curiousity and it still shows a segmentation fault on my system.


EDIT -- uninstalled it, too.  wink

EDIT -- I don't use this app, and don't need it but installed it to see what it was doing as y'all are in Testing and I'm in Unstable and could pass a bit of info along.  The fact it doesn't work in my system may or may not have any bearing with how it works in yours...

Last edited by dubois (2012-01-08 21:03:51)

My formula for living is quite simple. I get up in the morning and I go to bed at night. In between, I occupy myself as best I can.
Cary Grant

Re: HowTo: Upgrade the #! Point Release to sid

just a quick note: works great with testing too... same issues usb/exitscript --> solved easily with lightdm...

Re: HowTo: Upgrade the #! Point Release to sid

...and siduction.
-H

"When any government, or church for that matter, undertakes to say to it's subjects, this you may not read, this you must not see, this you are forbidden to know the end result is tyranny and oppression, no matter how holy the motive."
-Robert A. Heinlein

Re: HowTo: Upgrade the #! Point Release to sid

Fantastic howto, and extremely easy to follow. I decided to try it out on my laptop and had no problems at all, though for some reason cb-exit still works.  The only real oddity is that icon themes don't work right. Thunar and other such apps recognize them fine, but the system tray (tint2 in Openbox, btw) always uses hicolor regardless of what is applied. Xfce doesn't have any problems using the settings manager there. I tried searching for possible solutions to this, but the terms are so ubiquitous that I couldn't find anything useful or particularly relevant. Any thoughts on what might be happening there, and what I may be able to do to work around it? It doesn't cause any real problem, but it doesn't look as good as I would like with multiple icon themes on the desktop.

Re: HowTo: Upgrade the #! Point Release to sid

Hello Cothrige,
thanks for your feedback. I'm not quite sure if this is a sid-only problem, but maybe related to the (completeness of the) icon theme. Which icons are shown as hicolor? Have you tried different icon themes already? The fallback to hicolor happens if certain applications are not included in the selected icon theme - I have the same 'problem' in tint2's systray (in all distros, btw) - "Notes" has its own icon in every theme and beautifully fits, GoldenDict/Claws/iBus fall back to the(ir) ugly standard. Interesting you mention XFCE, where my taskbar icons look good but the systray is identical to tint2 (we should keep in mind that the volume icon is XFCE4-panel's own mixer, so that one will surely look as choosen, as well as all xfce4-panel-plugins you add there) . I will change to Openbox and have a look how/where we can set the default icons for the systray.

Edit: Done. There is a line in the config file of tint2 which states

"launcher_icon_theme = name_of_theme tint2 will follow the theme of your desktop when you have an XSETTINGS manager running. Otherwise, launcher_icon_theme parameter is used."

As we need to change the systray icons, and not those of the launcher, we can add the required name of the theme in a file called ~/.gtkrc-2.0

gtk-icon-theme-name = "Name_of_Theme"

Usually this is written by lxappearance into the gtkrc file (right click menu -> Settings -> User Interface Settings). Let's have a look if such a line is written into the file. There's another way, by running an Xsettings manager - usually lxsession should do that. Please have a look if in your ~/.config/openbox/autostart or autostart.sh (right click menu -> Settings -> Openbox -> Edit autostart, if I recall correctly) you find lxsession & - if not, add it.

If the icons are still not well integrated, I suppose they are simply missing in the theme and that's why the fallback icons are displayed. Hope it helps smile

@Phenylethylamin & @hinto
thanks for the feedback, adding it to the OP.

Last edited by machinebacon (2012-02-14 04:38:23)

Nothing right in the left brain. Nothing left in the right brain.

Re: HowTo: Upgrade the #! Point Release to sid

machinebacon,

Many thanks for the info and for looking into this. I was convinced at the time of writing that I had ruled out incomplete icon sets because I had tried every one available via apt, as well as several I had downloaded and which I knew had specific icons for the systray. Among those I tried were elementary dark and Faenza, both of which have their own monochromatic nm-applet signal and battery icons. Neither of these ever worked, which convinced me that something else was to blame. However, having installed and started some other apps, including things like dropbox, I have discovered that some do appear here and there, though very inconsistently.

Having dug somewhat deeper now I believe what may be going on is some change in the schemes for icon themes. I think many of these icon themes are set up for the older way of doing things, and now they are failing. Many have nm-signal icons, for instance, but they seem to be in different places for different sets. It is apps in some and places for others. Also, some names seemed to have changed, such as the images folder icon which apparently used to be folder-image and seems now to be folder-pictures. Additionally folder-video became folder-videos (that is an important improvement, right?) and so on. What such a trivial change serves is beyond me, but it may be breaking compatibility.  BTW, I have downloaded some themes and tried to copy a few icons over using these new formats and the results have been very inconsistent. The system tray never seems to be affected, but Thunar has used some of the folder icons that didn't appear before. Hard to know what to make of that.

But, most importantly, thanks again for posting your howto. It really was terrific. Things are running fantastically, and if inconsistent icons are the worst outcome I have been dealt so far I count that a big win.

Re: HowTo: Upgrade the #! Point Release to sid

OK...what did I break?  Followed the instructions in the first post of this tread and now, after apt-get update, apt-get dist-upgrade returns the error:

E: Invalid record in the preferences file /etc/apt/preferences, no Package header

Last edited by Neil (2012-05-06 18:31:40)

Re: HowTo: Upgrade the #! Point Release to sid

Hello,

please post

cat /etc/apt/preferences
Nothing right in the left brain. Nothing left in the right brain.

Re: HowTo: Upgrade the #! Point Release to sid

@Neil

I'm pretty sure there was a copy&paste glitch in the /etc/apt/preferences file. Edit it again as root, check the content, save, exit and perform a update/dist-upgrade.

Nothing right in the left brain. Nothing left in the right brain.

Re: HowTo: Upgrade the #! Point Release to sid

Here is what is in my /etc/apt/preferences file:

Package: *
Pin: release n=statler
Pin-Priority: 1001

Package: *
Pin: release n=sid
Pin-Priority: 500

echo conky-all hold | dpkg --set-selections
echo conky hold | dpkg --set-selections

I'm going to need to direction on what edits to make.

Re: HowTo: Upgrade the #! Point Release to sid

There should only be:

Package: *
Pin: release n=statler
Pin-Priority: 1001

Package: *
Pin: release n=sid
Pin-Priority: 500

and nothing else. The next two lines are command for the terminal, but you can remove and completely skip them in the upgrade process, because conky is apparently fixed upstream.

Nothing right in the left brain. Nothing left in the right brain.

Re: HowTo: Upgrade the #! Point Release to sid

OK, thanks, I'll give it a try.  The instructions about conky were very vague anyway, I would suggest that if it's now fixed, just remove the suggestion from the first post, so folks like me won't be confused by it.

EDIT:  That did the trick!  But looks like I will have to download 1041MB of archives for the upgrade!  Think I'll wait until later, and let it do the upgrade overnight.

Last edited by Neil (2012-05-06 20:11:13)