[00:12] <puff> I just updated xubuntu 16.04 LTS and restarted.  I make heavy use of the Workspace Switch gnome applet but recently it seems to add a new workspace every time I reboot.  I was up to 11 workspaces and it was getting unwieldly, so I used right-click/Workspace Settings to reduce the number.
[00:12] <puff> But I clicked too many times and now it's down to only ONE workspace... and now I can't get it to INCREASE the number of workspaces.  When I brought up the Workspace Settings dialog and clicked to increase the number it looks like it increases it and then immediately decreases it.
[00:12] <puff> I did right-click remove to remove Workspace switcher entirely, and now it won't let me readd it to the gnome menu bar. That is, when I right-click, add to panel, Workspace Switcher, nothing happens.
[08:49] <ghost2911> hi. I want to launch thunar as root, without entering the password can I pass the password in the shortcut as Command ?
[08:50] <ghost2911> gksudo thunar /  for ex. but this asks for password
[08:50] <ghost2911> I saw one like sudo -i <pwd> thunar this does not work
[08:54] <ghost2911> I mean for the Thunar icon
[09:00] <brainwash> ghost2911: you could try this https://askubuntu.com/a/388660
[09:00] <brainwash> thunar comes with a policy file too
[09:00] <ghost2911> found via custom actions but this needs icon on the desktop
[09:02] <brainwash> icon? you mean launcher?
[09:02] <diogenes_> ghost2911, there is a way by making /scripts/thunar.sh with: sudo thunar, then sudo visudo -f /etc/sudoers and add: ALL    ALL = (root) NOPASSWD: /scripts/thunar.sh, save, close and make a .desktop file with this command: Exec=sudo /scripts/thunar.sh
[09:02] <diogenes_> and it will start thunar with root and without password
[09:02] <ghost2911> wow, need to try
[09:08] <ghost2911> says failed to execute child process "exec=sudo" no such file or directory
[09:09] <ghost2911> in thunar.sh the line with visudo is one line no ?
[09:09] <diogenes_> ghost2911, pastebin the /etc/sudoers, /scripts/thunar.sh
[09:09] <diogenes_> let's see what you did
[09:12] <ghost2911> sudoers https://pastebin.com/5Md3uWfB
[09:13] <ghost2911> thunar.sh https://pastebin.com/xvJh52ev
[09:13] <diogenes_> ghost2911, :)) sorry i wasn't clear
[09:13] <diogenes_> ok let's do it from the beginning
[09:14] <diogenes_> firs i'd like to ask you if you are familiar with nano?
[09:14] <ghost2911> ok
[09:14] <diogenes_> so?
[09:14] <ghost2911> why nano ? I don't get
[09:14] <diogenes_> nano is a text edito
[09:15] <diogenes_> editor
[09:15] <ghost2911> yes
[09:15] <diogenes_> ok now run: sudo visudo -f /etc/sudoers
[09:15] <diogenes_> it will open the sudoers file for editing
[09:15] <ghost2911> a ok opens nano
[09:15] <diogenes_> be maximum careful because if you insert a single wrong character then you are in trouble
[09:15] <diogenes_> now to to the end of the file
[09:16] <diogenes_> after this last line #includedir /etc/sudoers.d
[09:16] <ghost2911> yes
[09:16] <diogenes_> add this
[09:17] <diogenes_>  ALL    ALL = (root) NOPASSWD: /scriptstower/thunar.sh
[09:18] <ghost2911> ok added
[09:18] <diogenes_> now ctrl+o
[09:18] <ghost2911> yes saved
[09:18] <diogenes_> ctrl+x
[09:18] <ghost2911> ok
[09:18] <diogenes_> and pastebin /etc/sudoers once again
[09:19] <ghost2911> https://pastebin.com/Mdg6rW3L
[09:20] <diogenes_> ok looks good now run: sudo nano /scriptstower/thunar.sh
[09:21] <ghost2911> ok
[09:21] <diogenes_> ok, make it blank, remove everything and add the following:
[09:21] <diogenes_> #!/bin/sh
[09:21] <diogenes_> sudo thunar
[09:21] <diogenes_> save, close
[09:22] <ghost2911> not #!/bin/bash ?
[09:22] <diogenes_>  /bin/sh
[09:23] <ghost2911> OK
[09:23] <diogenes_> ok, now run: sudo chmod +x /scriptstower/thunar.sh
[09:23] <ghost2911> it's done
[09:23] <diogenes_> now let's see if it works, run: sudo /scriptstower/thunar.sh
[09:23] <diogenes_> and it should open it without asking the password
[09:24] <ghost2911> wow
[09:24] <ghost2911> it opens without pwd
[09:24] <diogenes_> so it works? ok now let's make the shortcut
[09:24] <diogenes_> run: touch ~/.local/share/applications/thunarroot.desktop
[09:25] <ghost2911> ok
[09:25] <diogenes_> nano ~/.local/share/applications/thunarroot.desktop
[09:26] <ghost2911> ok
[09:26] <diogenes_> ok now wait a sec
[09:26] <diogenes_> i will pastebin what you need to add there
[09:27] <diogenes_> this: https://paste.ubuntu.com/p/bJnHH6D6gp/
[09:28] <diogenes_> once done, save,close and run: chmod +x ~/.local/share/applications/thunarroot.desktop
[09:29] <ghost2911> ok
[09:29] <diogenes_> now look for it in accessories
[09:29] <diogenes_> try if works
[09:30] <ghost2911> nope
[09:30] <ghost2911> I see it in accessories
[09:30] <ghost2911> but it doesn't start
[09:31] <diogenes_> ok run: cat ~/.local/share/applications/thunarroot.desktop
[09:31] <diogenes_> pastebin
[09:31] <ghost2911> https://pastebin.ubuntu.com/p/T6yNXTsDbf/
[09:33] <diogenes_> ok run: nano ~/.local/share/applications/thunarroot.desktop
[09:33] <diogenes_> change this line: Exec=sudo /scriptstower/thunar.sh
[09:34] <diogenes_> to: Exec= sh -c "sudo /scriptstower/thunar.sh"
[09:35] <diogenes_> save, close and run: cat ~/.local/share/applications/thunarroot.desktop | curl -F 'f:1=<-' ix.io
[09:35] <diogenes_> share the link you get
[09:38] <ghost2911> this is ninja way to share code :D
[09:38] <ghost2911> http://ix.io/1uHq
[09:39] <diogenes_> ok now try again to launch it from accessories
[09:39] <ghost2911> nope
[09:39] <diogenes_> and in terminal: sudo /scriptstower/thunar.sh
[09:39] <diogenes_> does it work?
[09:40] <ghost2911> yes
[09:41] <diogenes_> hmm weird, ok navigate to /home/username/.local/share/applications and try to double click on its icon in that folder
[09:41] <diogenes_> see if it works
[09:43] <ghost2911> nothing
[09:45] <diogenes_> ok, let's try this: cp /usr/share/applications/exo-file-manager.desktop  ~/.local/share/applications/
[09:47] <ghost2911> done
[09:48] <diogenes_> now in that folder you gonna see a new item that has just appeared, right click on it and open with mousepad
[09:49] <ghost2911> double click or right
[09:49] <diogenes_> right click
[09:50] <ghost2911> a ok yes
[09:50] <ghost2911> opened
[09:50] <diogenes_> there you have to make two changes
[09:51] <diogenes_> first: Exec=exo-open --launch FileManager %u change to: Exec=sh -c "sudo /scriptstower/thunar.sh"
[09:51] <diogenes_> second: Name=File Manager change to: Name=File Manager Root
[09:51] <diogenes_> save, close, double click
[09:54] <ghost2911> nope it says untrusted app launcher
[09:55] <ghost2911> launch anyway does nothing
[09:55] <diogenes_> ok wait, let me try it on my side
[09:55] <ghost2911> this is like discreet math :D
[10:00] <ghost2911> I thought I could do just desktop launcher and run that command that works script
[10:02] <diogenes_> ghost2911, works for me just fine
[10:03] <ghost2911> so that exo-file-manager.desktop should run file manager wihtou password ?
[10:03] <diogenes_> ghost2911, i tried the first methind
[10:03] <diogenes_> method*
[10:03] <ghost2911> thank you diogenes I'll check later.
[10:03] <diogenes_> ok
[10:04] <diogenes_> but
[10:04] <diogenes_> be very careful
[10:04] <diogenes_> in this way we kinda created a vulnerability on your system
[10:05] <diogenes_> anyone who gets access to your system, he just needs to run: sudo /scriptstower/thunar.sh in your terminal
[10:05] <diogenes_> and he gets root access and can do whatever on your system
[10:05] <diogenes_> so be aware of that
[10:59] <ghost2911> of course
[17:31] <xubuntu65w> Hi There! I'm Andres from Argentina. I've got the same problem I had 3 month ago with other laptop Lenovo, like this one. I've installed Xubuntu 18.04 (64 bits) and the problem is that when I close the lid or when I suspend the system, I can not re open the sesion because de screen is black.
[17:33]  * diogenes_ ech lenovo :(
[17:34] <xubuntu65w> 3 months ago somebody told me I have to install other program (not the one that come with Xubuntu 18.04). And it worked well. Does anybody know which is that other program that manages the sessions or something?
[17:35] <diogenes_> xubuntu65w, maybe xscreensaver?
[17:45] <rsevero> Hi. Since I upgraded to 18.04 I can't mount pen drives by just clicking on the pen drive on the file manager. I get a "Failed to mount... Not authorized to perform operation" error message. I bet it's some kind of problem with polkit but I can't find how to troubleshoot that. Ideias?
[17:48] <GridCube> mmm, I don't know if it would help really, but whenever i upgrade i usually remove the .Xauthority and .ICEauthority files from my /~ folder so they respawn properly
[17:48] <GridCube> they take care of credentials if im not mistaken
[17:50] <rsevero> GridCube: Thanks for the info. Will try.
[17:57] <rsevero> GridCube: Unfortunatelly it didn't solve my problem. Any more ideas?
[17:58] <GridCube> mmhm
[17:59] <diogenes_> rsevero, try to create a new user
[17:59] <diogenes_> and see if it works there
[17:59] <rsevero> diogenes_: Will try. Just a moment.
[18:00] <GridCube> rsevero: https://help.ubuntu.com/community/Mount/USB
[18:08] <rsevero> diogenes_: It worked. Ideias on how to make it work with my user again?
[18:09] <rsevero> GridCube: I couldn't identify anything that would help me on that page. Have you seen anything relevant?
[18:09] <diogenes_> rsevero, only by using trial and fail methind
[18:09] <diogenes_> first of all
[18:09] <diogenes_> backup your .config folder
[18:09] <diogenes_> and other .files (not folders)
[18:10] <diogenes_> then try to remove ~./config/Thunar, re-log see if works
[18:10] <diogenes_> if not, remove .cache re-log see if works and so on
[18:10] <diogenes_> it's a long trial and fail path
[18:13] <rsevero> Apparently there is not troubleshoot procedure for polkit. Couldn't find anything in Google...
[21:30] <MannyL> On Xbuntu I have no sound on my display (a TV over HDMI) help please
[21:31] <gnrp> MannyL: When you open the mixer, does it show you the hdmi sound as an output device?
[21:33] <MannyL> gnrp, if by Mixer you mean Volume Control the only output I see is Digital Output S/PDIF
[21:33] <MannyL> gnrp, but if I do dmesg | grep HDMI it shows [    0.045289] ACPI: Added _OSI(Linux-Lenovo-NV-HDMI-Audio)
[21:35] <gnrp> MannyL: When you do `aplay -l`, does an HDMI show up?
[21:36] <MannyL> gnrp, No it does not
[21:36] <gnrp> then this seems to be another problem to handle first.
[21:37] <gnrp> From your message, I assume you have a thinkpad with an nvidia and an intel card in it?
[21:38] <gnrp> or at least a thinkpad with an nvidia card? Anyway, what I want to say: Your problem seems to be more specific and not related to xubuntu as a distribution. I cannot tell you where, but you might find more help elsewhere
[21:39] <MannyL> gnrp, No this is a desktop system
[21:40] <MannyL> gnrp, and video is a AMD Radeon HD 7500 series
[21:40] <gnrp> uh, ok... I was completely misguided then by the output ;)
[21:42] <gnrp> I have no clue about AMD, but the problem seems to be that your system does not recognize the graphics card as a sound device first of all
[21:42] <MannyL> gnrp, I can understand that. I guess then the correct HW is not being detected. I am hsing a KVM switch but that shouldn't affect things
[21:43] <gnrp> indeed
[21:44] <gnrp> don't know how recent this is: https://askubuntu.com/questions/285727/no-audio-via-hdmi-on-radeon-hd-7570-ubuntu-13-04-12-10-12-04
[21:45] <MannyL> gnrp, I will try the guidence there
[21:48] <gnrp> it is five years old, so take that with caution ;)
[21:48] <MannyL> Trying reboot now
[21:49] <gnrp> gl ;)
[21:53] <_MannyhL_> gnrp, No change. I will give up and use my other systems for sound
[21:58] <_MannyhL_> gnrp, the system has the A55M-E motherboard and I'm an idiot. I forgot I changed motherboads and that one does not have HDMI I was using a DVi to HDMI adapter and thus no sound. Thanks for the help