[00:12] 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] 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] 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. === brainwash_ is now known as brainwash [08:49] hi. I want to launch thunar as root, without entering the password can I pass the password in the shortcut as Command ? [08:50] gksudo thunar / for ex. but this asks for password [08:50] I saw one like sudo -i thunar this does not work [08:54] I mean for the Thunar icon [09:00] ghost2911: you could try this https://askubuntu.com/a/388660 [09:00] thunar comes with a policy file too [09:00] found via custom actions but this needs icon on the desktop [09:02] icon? you mean launcher? [09:02] 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] and it will start thunar with root and without password [09:02] wow, need to try [09:08] says failed to execute child process "exec=sudo" no such file or directory [09:09] in thunar.sh the line with visudo is one line no ? [09:09] ghost2911, pastebin the /etc/sudoers, /scripts/thunar.sh [09:09] let's see what you did [09:12] sudoers https://pastebin.com/5Md3uWfB [09:13] thunar.sh https://pastebin.com/xvJh52ev [09:13] ghost2911, :)) sorry i wasn't clear [09:13] ok let's do it from the beginning [09:14] firs i'd like to ask you if you are familiar with nano? [09:14] ok [09:14] so? [09:14] why nano ? I don't get [09:14] nano is a text edito [09:15] editor [09:15] yes [09:15] ok now run: sudo visudo -f /etc/sudoers [09:15] it will open the sudoers file for editing [09:15] a ok opens nano [09:15] be maximum careful because if you insert a single wrong character then you are in trouble [09:15] now to to the end of the file [09:16] after this last line #includedir /etc/sudoers.d [09:16] yes [09:16] add this [09:17] ALL ALL = (root) NOPASSWD: /scriptstower/thunar.sh [09:18] ok added [09:18] now ctrl+o [09:18] yes saved [09:18] ctrl+x [09:18] ok [09:18] and pastebin /etc/sudoers once again [09:19] https://pastebin.com/Mdg6rW3L [09:20] ok looks good now run: sudo nano /scriptstower/thunar.sh [09:21] ok [09:21] ok, make it blank, remove everything and add the following: [09:21] #!/bin/sh [09:21] sudo thunar [09:21] save, close [09:22] not #!/bin/bash ? [09:22] /bin/sh [09:23] OK [09:23] ok, now run: sudo chmod +x /scriptstower/thunar.sh [09:23] it's done [09:23] now let's see if it works, run: sudo /scriptstower/thunar.sh [09:23] and it should open it without asking the password [09:24] wow [09:24] it opens without pwd [09:24] so it works? ok now let's make the shortcut [09:24] run: touch ~/.local/share/applications/thunarroot.desktop [09:25] ok [09:25] nano ~/.local/share/applications/thunarroot.desktop [09:26] ok [09:26] ok now wait a sec [09:26] i will pastebin what you need to add there [09:27] this: https://paste.ubuntu.com/p/bJnHH6D6gp/ [09:28] once done, save,close and run: chmod +x ~/.local/share/applications/thunarroot.desktop [09:29] ok [09:29] now look for it in accessories [09:29] try if works [09:30] nope [09:30] I see it in accessories [09:30] but it doesn't start [09:31] ok run: cat ~/.local/share/applications/thunarroot.desktop [09:31] pastebin [09:31] https://pastebin.ubuntu.com/p/T6yNXTsDbf/ [09:33] ok run: nano ~/.local/share/applications/thunarroot.desktop [09:33] change this line: Exec=sudo /scriptstower/thunar.sh [09:34] to: Exec= sh -c "sudo /scriptstower/thunar.sh" [09:35] save, close and run: cat ~/.local/share/applications/thunarroot.desktop | curl -F 'f:1=<-' ix.io [09:35] share the link you get [09:38] this is ninja way to share code :D [09:38] http://ix.io/1uHq [09:39] ok now try again to launch it from accessories [09:39] nope [09:39] and in terminal: sudo /scriptstower/thunar.sh [09:39] does it work? [09:40] yes [09:41] hmm weird, ok navigate to /home/username/.local/share/applications and try to double click on its icon in that folder [09:41] see if it works [09:43] nothing [09:45] ok, let's try this: cp /usr/share/applications/exo-file-manager.desktop ~/.local/share/applications/ [09:47] done [09:48] now in that folder you gonna see a new item that has just appeared, right click on it and open with mousepad [09:49] double click or right [09:49] right click [09:50] a ok yes [09:50] opened [09:50] there you have to make two changes [09:51] first: Exec=exo-open --launch FileManager %u change to: Exec=sh -c "sudo /scriptstower/thunar.sh" [09:51] second: Name=File Manager change to: Name=File Manager Root [09:51] save, close, double click [09:54] nope it says untrusted app launcher [09:55] launch anyway does nothing [09:55] ok wait, let me try it on my side [09:55] this is like discreet math :D [10:00] I thought I could do just desktop launcher and run that command that works script [10:02] ghost2911, works for me just fine [10:03] so that exo-file-manager.desktop should run file manager wihtou password ? [10:03] ghost2911, i tried the first methind [10:03] method* [10:03] thank you diogenes I'll check later. [10:03] ok [10:04] but [10:04] be very careful [10:04] in this way we kinda created a vulnerability on your system [10:05] anyone who gets access to your system, he just needs to run: sudo /scriptstower/thunar.sh in your terminal [10:05] and he gets root access and can do whatever on your system [10:05] so be aware of that [10:59] of course === sm0rux is now known as Guest48996 [17:31] 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] 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] xubuntu65w, maybe xscreensaver? [17:45] 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] 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] they take care of credentials if im not mistaken [17:50] GridCube: Thanks for the info. Will try. [17:57] GridCube: Unfortunatelly it didn't solve my problem. Any more ideas? [17:58] mmhm [17:59] rsevero, try to create a new user [17:59] and see if it works there [17:59] diogenes_: Will try. Just a moment. [18:00] rsevero: https://help.ubuntu.com/community/Mount/USB [18:08] diogenes_: It worked. Ideias on how to make it work with my user again? [18:09] GridCube: I couldn't identify anything that would help me on that page. Have you seen anything relevant? [18:09] rsevero, only by using trial and fail methind [18:09] first of all [18:09] backup your .config folder [18:09] and other .files (not folders) [18:10] then try to remove ~./config/Thunar, re-log see if works [18:10] if not, remove .cache re-log see if works and so on [18:10] it's a long trial and fail path [18:13] Apparently there is not troubleshoot procedure for polkit. Couldn't find anything in Google... === pavlushka_ is now known as pavlushka [21:30] On Xbuntu I have no sound on my display (a TV over HDMI) help please [21:31] MannyL: When you open the mixer, does it show you the hdmi sound as an output device? [21:33] gnrp, if by Mixer you mean Volume Control the only output I see is Digital Output S/PDIF [21:33] gnrp, but if I do dmesg | grep HDMI it shows [ 0.045289] ACPI: Added _OSI(Linux-Lenovo-NV-HDMI-Audio) [21:35] MannyL: When you do `aplay -l`, does an HDMI show up? [21:36] gnrp, No it does not [21:36] then this seems to be another problem to handle first. [21:37] From your message, I assume you have a thinkpad with an nvidia and an intel card in it? [21:38] 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] gnrp, No this is a desktop system [21:40] gnrp, and video is a AMD Radeon HD 7500 series [21:40] uh, ok... I was completely misguided then by the output ;) [21:42] 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] 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] indeed [21:44] 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] gnrp, I will try the guidence there [21:48] it is five years old, so take that with caution ;) [21:48] Trying reboot now [21:49] 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